﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000581 RID: 1409
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishChessRogueNousSubStoryCsReq : IMessage<FinishChessRogueNousSubStoryCsReq>, IMessage, IEquatable<FinishChessRogueNousSubStoryCsReq>, IDeepCloneable<FinishChessRogueNousSubStoryCsReq>, IBufferMessage
	{
		// Token: 0x17001213 RID: 4627
		// (get) Token: 0x06003F4C RID: 16204 RVA: 0x000ADB75 File Offset: 0x000ABD75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishChessRogueNousSubStoryCsReq> Parser
		{
			get
			{
				return FinishChessRogueNousSubStoryCsReq._parser;
			}
		}

		// Token: 0x17001214 RID: 4628
		// (get) Token: 0x06003F4D RID: 16205 RVA: 0x000ADB7C File Offset: 0x000ABD7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishChessRogueNousSubStoryCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001215 RID: 4629
		// (get) Token: 0x06003F4E RID: 16206 RVA: 0x000ADB8E File Offset: 0x000ABD8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishChessRogueNousSubStoryCsReq.Descriptor;
			}
		}

		// Token: 0x06003F4F RID: 16207 RVA: 0x000ADB95 File Offset: 0x000ABD95
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryCsReq()
		{
		}

		// Token: 0x06003F50 RID: 16208 RVA: 0x000ADB9D File Offset: 0x000ABD9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryCsReq(FinishChessRogueNousSubStoryCsReq other) : this()
		{
			this.chessRogueSubStoryId_ = other.chessRogueSubStoryId_;
			this.iBGBNAJCIHD_ = other.iBGBNAJCIHD_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003F51 RID: 16209 RVA: 0x000ADBCE File Offset: 0x000ABDCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishChessRogueNousSubStoryCsReq Clone()
		{
			return new FinishChessRogueNousSubStoryCsReq(this);
		}

		// Token: 0x17001216 RID: 4630
		// (get) Token: 0x06003F52 RID: 16210 RVA: 0x000ADBD6 File Offset: 0x000ABDD6
		// (set) Token: 0x06003F53 RID: 16211 RVA: 0x000ADBDE File Offset: 0x000ABDDE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueSubStoryId
		{
			get
			{
				return this.chessRogueSubStoryId_;
			}
			set
			{
				this.chessRogueSubStoryId_ = value;
			}
		}

		// Token: 0x17001217 RID: 4631
		// (get) Token: 0x06003F54 RID: 16212 RVA: 0x000ADBE7 File Offset: 0x000ABDE7
		// (set) Token: 0x06003F55 RID: 16213 RVA: 0x000ADBEF File Offset: 0x000ABDEF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IBGBNAJCIHD
		{
			get
			{
				return this.iBGBNAJCIHD_;
			}
			set
			{
				this.iBGBNAJCIHD_ = value;
			}
		}

		// Token: 0x06003F56 RID: 16214 RVA: 0x000ADBF8 File Offset: 0x000ABDF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishChessRogueNousSubStoryCsReq);
		}

		// Token: 0x06003F57 RID: 16215 RVA: 0x000ADC06 File Offset: 0x000ABE06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishChessRogueNousSubStoryCsReq other)
		{
			return other != null && (other == this || (this.ChessRogueSubStoryId == other.ChessRogueSubStoryId && this.IBGBNAJCIHD == other.IBGBNAJCIHD && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003F58 RID: 16216 RVA: 0x000ADC44 File Offset: 0x000ABE44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num ^= this.ChessRogueSubStoryId.GetHashCode();
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num ^= this.IBGBNAJCIHD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003F59 RID: 16217 RVA: 0x000ADC9C File Offset: 0x000ABE9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003F5A RID: 16218 RVA: 0x000ADCA4 File Offset: 0x000ABEA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003F5B RID: 16219 RVA: 0x000ADCB0 File Offset: 0x000ABEB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IBGBNAJCIHD != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.IBGBNAJCIHD);
			}
			if (this.ChessRogueSubStoryId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.ChessRogueSubStoryId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003F5C RID: 16220 RVA: 0x000ADD0C File Offset: 0x000ABF0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChessRogueSubStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueSubStoryId);
			}
			if (this.IBGBNAJCIHD != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IBGBNAJCIHD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003F5D RID: 16221 RVA: 0x000ADD64 File Offset: 0x000ABF64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishChessRogueNousSubStoryCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChessRogueSubStoryId != 0U)
			{
				this.ChessRogueSubStoryId = other.ChessRogueSubStoryId;
			}
			if (other.IBGBNAJCIHD != 0U)
			{
				this.IBGBNAJCIHD = other.IBGBNAJCIHD;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003F5E RID: 16222 RVA: 0x000ADDB4 File Offset: 0x000ABFB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003F5F RID: 16223 RVA: 0x000ADDC0 File Offset: 0x000ABFC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.ChessRogueSubStoryId = input.ReadUInt32();
					}
				}
				else
				{
					this.IBGBNAJCIHD = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001905 RID: 6405
		private static readonly MessageParser<FinishChessRogueNousSubStoryCsReq> _parser = new MessageParser<FinishChessRogueNousSubStoryCsReq>(() => new FinishChessRogueNousSubStoryCsReq());

		// Token: 0x04001906 RID: 6406
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001907 RID: 6407
		public const int ChessRogueSubStoryIdFieldNumber = 15;

		// Token: 0x04001908 RID: 6408
		private uint chessRogueSubStoryId_;

		// Token: 0x04001909 RID: 6409
		public const int IBGBNAJCIHDFieldNumber = 4;

		// Token: 0x0400190A RID: 6410
		private uint iBGBNAJCIHD_;
	}
}
